package com.why.entity;


import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;

import java.util.Date;

/**
 * (Examination)实体类
 *
 * @author makejava
 * @since 2023-05-25 20:19:59
 */
@Data
public class Examination {

    private static final long serialVersionUID = 979310923764301508L;

    /**
     * id
     */
    @TableId(type = IdType.AUTO)
    private Long id;
    /**
     * 试卷名称
     */
    private String examname;
    /**
     * 教师ID
     */
    private Long teacherid;
    /**
     * 教师工号
     */
    private String jiaoshigonghao;
    /**
     * 教师姓名
     */
    private String teachername;
    /**
     * 发布状态
     */
    @TableField(fill = FieldFill.INSERT)
    private Integer status;

    /**
     * 增加时间
     */
    @TableField(fill = FieldFill.INSERT)
    private Date addtime;
}
